/**
 * FailedQuery.java Create on 2012-8-2     
*      
* Copyright (c) 2012-8-2 by yiming     
*      
* @author <a href="alenzhangym@hotmail.com">Yiming</a>     
* @version 1.0 
 */
package com.yimi.service;

import android.os.Parcel;

/**
 * TODO 功能描述    
 *      
 *  
 *      
 * @author Yiming
 * @version 1.0 
 */
public class FailedQuery extends Entity {
    private String reason;
    public FailedQuery() {
        super(); 
        reason="";
    }
    
    public void readFromParcel(Parcel in) { 
        super.readFromParcel(in);
        reason =   in.readString();
    }
    public void writePacel(Parcel dest, int flags){
        dest.writeString(reason);
    }
    public void readToParcel(Parcel in){
        reason =   in.readString();
    }

    /**
     * @return the reason
     */
    public String getReason() {
        return reason;
    }

    /**
     * @param reason the reason to set
     */
    public void setReason(String reason) {
        this.reason = reason;
    }
     
}
